package com.qf.base.yml.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author zhangwei
 */
@Data
@Component
//@ConfigurationProperties("ali.oss")
public class OssProperties {
    @Value("${ali.oss.endpoint}")
    private String endpoint;
    @Value("${ali.oss.bucket-name}")
    private String bucketName;
}
